package com.wjqy.entity;

import java.util.Date;

public class Cdkey {
    private Integer id;
    private Integer userId;
    private Integer scenicId;
    private String cdk;
    private Date creatTime;
    private Date useTime;
    private Byte status;

    public Cdkey() {
    }

    public Cdkey(Integer scenicId, String cdk, Date creatTime) {
        this.scenicId = scenicId;
        this.cdk = cdk;
        this.creatTime = creatTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getScenicId() {
        return scenicId;
    }

    public void setScenicId(Integer scenicId) {
        this.scenicId = scenicId;
    }

    public String getCdk() {
        return cdk;
    }

    public void setCdk(String cdk) {
        this.cdk = cdk;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Date getUseTime() {
        return useTime;
    }

    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Cdkey{" +
                "id=" + id +
                ", userId=" + userId +
                ", scenicId=" + scenicId +
                ", cdk='" + cdk + '\'' +
                ", creatTime=" + creatTime +
                ", useTime=" + useTime +
                ", status=" + status +
                '}';
    }
}
